package cn.edu.ncut.cs.springboot.springbootdatabase.dao;


import cn.edu.ncut.cs.springboot.springbootdatabase.entity.Account;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountRepository extends JpaRepository<Account, Long> {
    Account findByUsername(String username);
    void deleteByUsername(String name);
}